home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlahrd.z / zlahrd
Encoding:
Text File  |  2002-10-03  |  5.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))                                                          ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLAHRD - reduce the first NB columns of a complex general n-by-(n-k+1)
  10.      matrix A so that elements below the k-th subdiagonal are zero
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZLAHRD( N, K, NB, A, LDA, TAU, T, LDT, Y, LDY )
  14.  
  15.          INTEGER        K, LDA, LDT, LDY, N, NB
  16.  
  17.          COMPLEX*16     A( LDA, * ), T( LDT, NB ), TAU( NB ), Y( LDY, NB )
  18.  
  19. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  20.      These routines are part of the SCSL Scientific Library and can be loaded
  21.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  22.      directs the linker to use the multi-processor version of the library.
  23.  
  24.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  25.      4 bytes (32 bits). Another version of SCSL is available in which integers
  26.      are 8 bytes (64 bits).  This version allows the user access to larger
  27.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  28.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  29.      only one of the two versions; 4-byte integer and 8-byte integer library
  30.      calls cannot be mixed.
  31.  
  32. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  33.      ZLAHRD reduces the first NB columns of a complex general n-by-(n-k+1)
  34.      matrix A so that elements below the k-th subdiagonal are zero. The
  35.      reduction is performed by a unitary similarity transformation Q' * A * Q.
  36.      The routine returns the matrices V and T which determine Q as a block
  37.      reflector I - V*T*V', and also the matrix Y = A * V * T.
  38.  
  39.      This is an auxiliary routine called by ZGEHRD.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      N       (input) INTEGER
  44.              The order of the matrix A.
  45.  
  46.      K       (input) INTEGER
  47.              The offset for the reduction. Elements below the k-th subdiagonal
  48.              in the first NB columns are reduced to zero.
  49.  
  50.      NB      (input) INTEGER
  51.              The number of columns to be reduced.
  52.  
  53.      A       (input/output) COMPLEX*16 array, dimension (LDA,N-K+1)
  54.              On entry, the n-by-(n-k+1) general matrix A.  On exit, the
  55.              elements on and above the k-th subdiagonal in the first NB
  56.              columns are overwritten with the corresponding elements of the
  57.              reduced matrix; the elements below the k-th subdiagonal, with the
  58.              array TAU, represent the matrix Q as a product of elementary
  59.              reflectors. The other columns of A are unchanged. See Further
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))                                                          ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              Details.  LDA     (input) INTEGER The leading dimension of the
  75.              array A.  LDA >= max(1,N).
  76.  
  77.      TAU     (output) COMPLEX*16 array, dimension (NB)
  78.              The scalar factors of the elementary reflectors. See Further
  79.              Details.
  80.  
  81.      T       (output) COMPLEX*16 array, dimension (LDT,NB)
  82.              The upper triangular matrix T.
  83.  
  84.      LDT     (input) INTEGER
  85.              The leading dimension of the array T.  LDT >= NB.
  86.  
  87.      Y       (output) COMPLEX*16 array, dimension (LDY,NB)
  88.              The n-by-nb matrix Y.
  89.  
  90.      LDY     (input) INTEGER
  91.              The leading dimension of the array Y. LDY >= max(1,N).
  92.  
  93. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  94.      The matrix Q is represented as a product of nb elementary reflectors
  95.  
  96.         Q = H(1) H(2) . . . H(nb).
  97.  
  98.      Each H(i) has the form
  99.  
  100.         H(i) = I - tau * v * v'
  101.  
  102.      where tau is a complex scalar, and v is a complex vector with v(1:i+k-1)
  103.      = 0, v(i+k) = 1; v(i+k+1:n) is stored on exit in A(i+k+1:n,i), and tau in
  104.      TAU(i).
  105.  
  106.      The elements of the vectors v together form the (n-k+1)-by-nb matrix V
  107.      which is needed, with T and Y, to apply the transformation to the
  108.      unreduced part of the matrix, using an update of the form:  A := (I -
  109.      V*T*V') * (A - Y*V').
  110.  
  111.      The contents of A on exit are illustrated by the following example with n
  112.      = 7, k = 3 and nb = 2:
  113.  
  114.         ( a   h   a   a   a )
  115.         ( a   h   a   a   a )
  116.         ( a   h   a   a   a )
  117.         ( h   h   a   a   a )
  118.         ( v1  h   a   a   a )
  119.         ( v1  v2  a   a   a )
  120.         ( v1  v2  a   a   a )
  121.  
  122.      where a denotes an element of the original matrix A, h denotes a modified
  123.      element of the upper Hessenberg matrix H, and vi denotes an element of
  124.      the vector defining H(i).
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))                                                          ZZZZLLLLAAAAHHHHRRRRDDDD((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.